// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the BASICUSERMANAGEMENT_EXPORTS
// symbol defined on the command line. This symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// BASICUSERMANAGEMENT_API functions as being imported from a DLL, whereas this DLL sees symbols
// defined with this macro as being exported.
#ifdef BASICUSERMANAGEMENT_EXPORTS
#define BASICUSERMANAGEMENT_API __declspec(dllexport)
#else
#define BASICUSERMANAGEMENT_API __declspec(dllimport)
#endif


// COMPLETELY UNTESTED...
// COMPLETELY UN-ERROR-CHECKED CODE

BASICUSERMANAGEMENT_API void LoadUserData(char *szFileName, size_t ullSize);
BASICUSERMANAGEMENT_API void SaveUserData(char *szFileName, size_t ullSize);
BASICUSERMANAGEMENT_API bool IsUserNameAvailable(char *szUserName, size_t ullSize);
BASICUSERMANAGEMENT_API void AddNewUserName(char *szUserName, size_t ullSize);
BASICUSERMANAGEMENT_API void SetPasswordForUser(char *szUserName, size_t ullUNSize, char *szPass, size_t ullPWSize);
BASICUSERMANAGEMENT_API void RemoveExistingUser(char *szUserName, size_t ullUNSize);
BASICUSERMANAGEMENT_API bool ValidateUserAndPass(char *szUserName, size_t ullUNSize, char *szPass, size_t ullPWSize);
BASICUSERMANAGEMENT_API void ClearAllUsers();